package com.lwq.nacosorderserivce.mapper;

import com.lwq.nacosorderserivce.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Auther: 陆
 * @Date: 2024/01/30/11:24
 * @Description:
 */
@Mapper
public interface OrderMapper {
   @Select("select  id, user_id, name, price, num from cloud_order.tb_order where id = #{id}")
   Order select(Long id);
}
